home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / + TYLKO W WERSJI CYFROWEJ + / PCWK_PROG / Source / 120 / ukryte5 / fukryte5.h < prev    next >
C/C++ Source or Header  |  2007-07-05  |  2KB  |  50 lines

  1. //---------------------------------------------------------------------------
  2.  
  3. #ifndef fukryte5H
  4. #define fukryte5H
  5. //---------------------------------------------------------------------------
  6. #include <Classes.hpp>
  7. #include <Controls.hpp>
  8. #include <StdCtrls.hpp>
  9. #include <Forms.hpp>
  10. #include <Dialogs.hpp>
  11. #include <ExtCtrls.hpp>
  12. #include <ExtDlgs.hpp>
  13. //---------------------------------------------------------------------------
  14. class TForm1 : public TForm
  15. {
  16. __published:    // IDE-managed Components
  17.     TScrollBox *ScrollBox1;
  18.     TScrollBox *ScrollBox2;
  19.     TImage *Image1;
  20.     TImage *Image2;
  21.     TPanel *Panel2;
  22.     TOpenPictureDialog *OpenPictureDialog1;
  23.     TSavePictureDialog *SavePictureDialog1;
  24.     TPanel *Panel1;
  25.     TLabel *Label1;
  26.     TLabel *Label2;
  27.     TLabel *Label3;
  28.     TButton *Button1;
  29.     TButton *Button2;
  30.     TButton *Button3;
  31.     TEdit *Edit1;
  32.     void __fastcall Button1Click(TObject *Sender);
  33.     void __fastcall Button2Click(TObject *Sender);
  34.     void __fastcall Button3Click(TObject *Sender);
  35. private:    // User declarations
  36.     int X_POZ, Y_POZ, RGB_POZ, BIT_POZ; //pozcja odczytywanego bitu
  37.     int id, s, w, il_r, il_g, il_b;     //atrybuty odczytywane z nag│≤wka
  38.     bool odczytaj_naglowek( void);
  39.     int daj_bit( unsigned char bajt, int poz);
  40.     unsigned char ustaw_bit( unsigned char bajt, int poz, int val);
  41.     int odczytaj_bit( void);
  42.     int odczytaj_bajt( void);
  43. public:        // User declarations
  44.     __fastcall TForm1(TComponent* Owner);
  45. };
  46. //---------------------------------------------------------------------------
  47. extern PACKAGE TForm1 *Form1;
  48. //---------------------------------------------------------------------------
  49. #endif
  50.